<extend name="desktop_default/template/base_index2" />

<block name="area_header">
	<style type="text/css">
	body {
			background-color: #F5F5F5;
		}
		.am-panel{ width: 550px; text-align: center; margin:10% auto;}
		.am-panel-hd {height: 80px;padding: 30px;background-color: #FFFFFF !important;text-align: center;}
		.disanfang{ margin-left: 30px; width: 140px;}
		.fm a{cursor: pointer; color: orangered;}
		
		.container{height: 80px; background-color: white; width: 100%; min-width: 1100px;}
		.fm input{ height: 50px; width: 300px;}
	</style>
</block>

<block name="area_body">
    <header class="header">
	<include file="desktop_default/width/right" />
	<include file="desktop_default/width/top"/>
    </header>

	<div style="background: #FFFfff;margin-top: 30px;" class="shop-container">
        <img height="70px" style="margin-left: -3px; margin-top: -5px;" src="__IMG__/login.png">
		<font color="#8C8C8C">买东西必须注册登录哦!</font>
	</div>
	<div class="shop-container" style="margin:0 auto; height: 400px;background-color: #fff;border-top:3px solid #ff9f79;">
	<div style="float:left;width:70%;">
        <img height="270px" style="    text-align: center; margin: 0px auto;  width: 460px;    display: block;    margin-top: 30px;" src="__IMG__/zhuce.png"></div>
	<div style="background-color: white; font-size: 14px; height: 400px; width: 300px; text-align: center;  padding: 20px;float:right;">
		<div style="font-size:16px;width:260px;height:35px;line-height:35px;margin-bottom:20px;">
		<div style="width:130px;border-bottom:3px solid rgb(255, 80, 11);float:left;">登录</div>
		<div style="width:130px;border-bottom:3px solid #ddd;float:left;color:#bbb;"  onclick="document.location='{:U('Shop/Index/register')}';" onmouseover="this.style.cursor='pointer'">注册</div>
		</div>
		<form class="am-form loginForm" method="post" action="{:U('Shop/Index/login')}">
            <div class="am-form-group" >
                <input type="text" name="uname" placeholder="  用户名">
            </div>
            
            <div class="am-form-group" >
                <input type="password" name="pwd" placeholder="  密码">
            </div>

            <div class="am-form-group">
                <button data-no-alert="1" url="{:U('Shop/Index/login')}" target-form="loginForm"  class="ajax-post btn btn-primary am-btn am-btn-primary am-btn-block" autofocus="autofocus">登录</button>

            </div>


        </form>

        <div class="am-g">

            <font color="black" size="2">没有账号？<a href="{:U('Shop/Index/register')}">立即注册</a></font>

            <a style="margin-left: 20px; " href="{:U('Shop/User/forgetpwd1')}">忘记密码</a>
        </div>
	</div>
	</div>
	<br>		
		 <include file="desktop_default/width/floor" />
</block>

<block name="area_footer">
<script type="text/javascript">
	$(function(){
		$('.disanfang').hide();
		$('#disanfang').click(function(){
			$('.disanfang').toggle(function(){
				
			})
		})
	})
</script>
</block>